package com.platform.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;


/**
 * 实体
 * 表名 api_circle_bill
 *
 * @author zhurusen
 * @email 524227263@qq.com
 * @date 2018-05-14 23:16:55
 */
public class ApiCircleBillVo implements Serializable {
    private static final long serialVersionUID = 1L;

    //
    private Long id;
    //创建时间
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date createTime;
    //会员
    private Long userId;
    private UserInfo userVo;
    //圈子id
    private Long circleId;
    //内容
    private String content;
    //地址
    private String place;
    //打赏金额
    private BigDecimal amount;
    //类型1打赏 2 评论 3 点赞
    private Integer type;

    public UserInfo getUserVo() {
        return userVo;
    }

    public ApiCircleBillVo setUserVo(UserInfo userVo) {
        this.userVo = userVo;
        return this;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    /**
     * 设置：
     */
    public void setId(Long id) {
        this.id = id;
    }

    /**
     * 获取：
     */
    public Long getId() {
        return id;
    }

    /**
     * 设置：创建时间
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取：创建时间
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置：会员
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取：会员
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置：圈子id
     */
    public void setCircleId(Long circleId) {
        this.circleId = circleId;
    }

    /**
     * 获取：圈子id
     */
    public Long getCircleId() {
        return circleId;
    }

    /**
     * 设置：内容
     */
    public void setContent(String content) {
        this.content = content;
    }

    /**
     * 获取：内容
     */
    public String getContent() {
        return content;
    }

    /**
     * 设置：地址
     */
    public void setPlace(String place) {
        this.place = place;
    }

    /**
     * 获取：地址
     */
    public String getPlace() {
        return place;
    }

    /**
     * 设置：打赏金额
     */
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    /**
     * 获取：打赏金额
     *
     * @param amount
     */
    public BigDecimal getAmount(BigDecimal amount) {
        return this.amount;
    }

    /**
     * 设置：类型1打赏 2 评论 3 点赞
     */
    public void setType(Integer type) {
        this.type = type;
    }

    /**
     * 获取：类型1打赏 2 评论 3 点赞
     */
    public Integer getType() {
        return type;
    }
}
